IMotion.RemoveAxisFromGroup 方法

將軸從軸組移除,此命令無法緩衝。若軸組中已無任何軸,狀態將變更為軸組關閉 (GroupDisabled)。

命名空間IntervalZero.KINGSTAR.Base.Api

組合: IntervalZero.KINGSTAR.Base.Api (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
KsError RemoveAxisFromGroup(
       int Index,
       int IndexInGroup
)
Function RemoveAxisFromGroup(
       Index As Integer,
       IndexInGroup As Integer
) As KsError

參數

Index [in]

型別:int

軸組的索引。索引以 0 為起始,最多可有 32 個軸組。

 

IndexInGroup [in]

型別:int

軸組中的軸索引。

回傳值

型別:KsError

方法的回傳值。

備註

若將此方法傳送到一個未處於軸組關閉 (GroupDisabled)、軸組靜止 (GroupStandstill) 及軸組錯誤停止 (GroupErrorStop) 狀態的軸組,將會產生錯誤且此方法不會執行。

範例

C#
N/A

參見

IMotion 介面

IntervalZero.KINGSTAR.Base.Api 命名空間